package com.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 小区物业公告信息(Announcement)实体类
 *
 * @author makejava
 * @since 2020-03-29 21:50:50
 */
public class Announcement implements Serializable {
    private static final long serialVersionUID = -72790592824447782L;
    
    private Integer id;
    
    private String context;
    
    private Integer areaId;

    private Date createTime;
    
    private String title;
    
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Announcement{" +
                "id=" + id +
                ", context='" + context + '\'' +
                ", areaId=" + areaId +
                ", createTime=" + createTime +
                ", title='" + title + '\'' +
                ", status=" + status +
                '}';
    }
}